<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my" %>
<%@ taglib uri="/WEB-INF/tld/user.tld" prefix="user" %>
<%@ taglib uri="/WEB-INF/tld/image.tld" prefix="image" %>
<html>
<head>
<c:import url="/WEB-INF/tpl/_include/_css.jsp" />
<link rel="stylesheet" href="style/validationEngine.jquery.css" type="text/css">
</head>
<body>
<div id="content" class="reg_bg">
	<!--header begin-->
	 <c:import url="/WEB-INF/tpl/_include/_header2.jsp" />
    <!--header end-->
    <!--main begin-->
    <div id="main">
    	<div class="reg_input">
        	<div class="reg_left">
        	<form id="getPwdForm" action="${basehost}user.do${p1}&amp;do=User.findPasswordPost" method="post">
            	<h3 class="reg_title f14"><strong>每天只能找回一次密码！</strong> <span><strong>${msg}</strong></span></h3>
                <dl class="reg_box f14">
                	<dt>帐号（必填）</b></dt>
                    <dd><input type="text"  name="username" id="username" class="validate[required]"></dd>
                    <dd>   </dd>                                         
                    <dt>验证码<b>（必填）</b></dt>
                    <dd class="reg_yz">
                    <input type="text" style="width:80px;" class="validate[required]" name="vcode" id="vcode" />&nbsp;
                    <c:set var="vkey" value="${my:vcode_key()}"/>
                    <input type="hidden" name="vkey" value="${vkey}"/>
					<img src="${root}vcode?vkey=${vkey}" alt="." />&nbsp;</dd>
                </dl>
                <h4 class="reg_h4" style="width:380px;"><input type="button" id="_rsubmit" value="确定" class="reg_btn" /></h4>
                 
                </form>
                <a href="${root}user.do${p1}&amp;do=Reg.aa">新用户注册</a>
            </div>
            <div class="reg_right">      
                
            </div>
            <div class="clr"></div>
        </div>
    </div>
   <c:import url="/WEB-INF/tpl/tpl/_footer.jsp" />
   </body>
<script>
       $(function () {
           jQuery("#getPwdForm").validationEngine();
           $('#_rsubmit').bind('click', function () {
               if ($('#getPwdForm').validationEngine('validate')) {
                $(this).attr('disabled', 'disabled');
                $('#getPwdForm').submit();
               }
           });
       });

   </script>
</html>

